package com.small.base.qiniu.exce;

/**
 * SmallQiniuExceptionEnum
 *
 * @author miajio
 */
public enum SmallQiniuExceptionEnum {
    /**
     * 空间不存在
     */
    BUCKET_NAME_IS_EMPTY(30001, "空间不存在"),
    /**
     * 域名配置不存在
     */
    DOMAIN_IS_EMPTY(30002, "域名配置不存在");

    private Integer code;

    private String msg;

    SmallQiniuExceptionEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
